import { getAction, deleteAction, putAction, postAction, httpAction, downFile, downFilePost } from '@/api/manage'
const serviceName = '/fz-fengdu-tong-guan-ju'
//解封指令分发策略
const jf_db_strategyList = (params) => getAction(`${serviceName}/unsealDistributeStrategy/list`, params)
const jf_db_strategyAdd = (params) => postAction(`${serviceName}/unsealDistributeStrategy/add`, params)
const jf_db_onAndOff = (params) => postAction(`${serviceName}/unsealDistributeStrategy/onAndOff`, params)
const jf_db_deleteBatch = (params) => putAction(`${serviceName}/unsealDistributeStrategy/deleteBatch`, params)
const jf_db_queryById = (params) => getAction(`${serviceName}/unsealDistributeStrategy/queryById`, params)

// 解封指令分发(手工)
const jf_db_distributeList = (params) => getAction(`${serviceName}/unsealManualDistribute/distributeList`, params)
const jf_db_list = (params) => getAction(`${serviceName}/unsealManualDistribute/list`, params)
const jf_db_manualDistribute = (params) => postAction(`${serviceName}/unsealManualDistribute/manualDistribute`, params)

// 解封指令反馈策略
const jf_fb_strategyList = (params) => getAction(`${serviceName}/unsealFeedbackStrategy/list`, params)
const jf_fb_strategyAdd = (params) => postAction(`${serviceName}/unsealFeedbackStrategy/add`, params)
const jf_fb_onAndOff = (params) => postAction(`${serviceName}/unsealFeedbackStrategy/onAndOff`, params)
const jf_fb_deleteBatch = (params) => deleteAction(`${serviceName}/unsealFeedbackStrategy/deleteBatch`, params)
const jf_fb_queryById = (params) => getAction(`${serviceName}/unsealFeedbackStrategy/queryById`, params)

// 解封指令反馈表(手工)
const jf_fb_extractFeedback = (params) => getAction(`${serviceName}/unsealFeedbackManual/extractFeedback`, params)
const jf_fb_feedbackList = (params) => getAction(`${serviceName}/unsealFeedbackManual/feedbackList`, params)
const jf_fb_feedbackManual = (params) => getAction(`${serviceName}/unsealFeedbackManual/feedbackManual`, params)
const jf_fb_list = (params) => getAction(`${serviceName}/unsealFeedbackManual/list`, params)
const jf_fb_pushAddFeedback = (params) => postAction(`${serviceName}/unsealFeedbackManual/pushAddFeedback`, params)
const jf_fb_queryById1 = (params) => getAction(`${serviceName}/unsealFeedbackManual/queryById`, params)
const jf_fb_saveOrUpdate = (params) => postAction(`${serviceName}/unsealFeedbackManual/saveOrUpdate`, params)

export {
  jf_db_strategyList,
  jf_db_strategyAdd,
  jf_db_onAndOff,
  jf_db_deleteBatch,
  jf_db_queryById,
  jf_db_distributeList,
  jf_db_list,
  jf_db_manualDistribute,
  jf_fb_strategyList,
  jf_fb_strategyAdd,
  jf_fb_onAndOff,
  jf_fb_deleteBatch,
  jf_fb_queryById,
  jf_fb_extractFeedback,
  jf_fb_feedbackList,
  jf_fb_feedbackManual,
  jf_fb_list,
  jf_fb_pushAddFeedback,
  jf_fb_queryById1,
  jf_fb_saveOrUpdate
}
